package com.hjc.service;

import com.hjc.entity.Purchase;
import com.hjc.entity.Result;
import com.hjc.page.Page;
import org.apache.ibatis.annotations.Param;

public interface PurchaseService {
    //    添加采购单
    public Result addPurchase(Purchase purchase);

    //    分页查询采购单
    public Page findPurchaseByPage(@Param("purchase") Purchase purchase, @Param("page") Page page);

    //    删除订单
    public Result removePurchaseById(Integer buyId);

    //    修改订单
    public Result setPurchaseById(Purchase purchase);
}
